<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="PyivtbmobViewDlg" widgetVar="PyivtbmobViewDialog" modal="true" resizable="false" appendToBody="true" header="#{myBundle.ViewPyivtbmobTitle}">

            <h:form id="PyivtbmobViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{pyivtbmobController.selected != null}">

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_pyivtbmobid}"/>
                        <h:outputText value="#{pyivtbmobController.selected.pyivtbmobid}" title="#{myBundle.ViewPyivtbmobTitle_pyivtbmobid}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_codbien}"/>
                        <h:outputText value="#{pyivtbmobController.selected.codbien}" title="#{myBundle.ViewPyivtbmobTitle_codbien}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_descripcion}"/>
                        <h:outputText value="#{pyivtbmobController.selected.descripcion}" title="#{myBundle.ViewPyivtbmobTitle_descripcion}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_pyivtbcolorid}"/>
                        <h:outputText value="#{pyivtbmobController.selected.pyivtbcolorid.pyivtbcolorid}"/>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_materialpred}"/>
                        <h:outputText value="#{pyivtbmobController.selected.materialpred}" title="#{myBundle.ViewPyivtbmobTitle_materialpred}"/>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_caracteristicas}"/>
                        <h:outputText value="#{pyivtbmobController.selected.caracteristicas}" title="#{myBundle.ViewPyivtbmobTitle_caracteristicas}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_pyivtbusobienid}"/>
                        <h:outputText value="#{pyivtbmobController.selected.pyivtbusobienid.pyivtbusobienid}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_pyivtbestabienid}"/>
                        <h:outputText value="#{pyivtbmobController.selected.pyivtbestabienid.pyivtbestabienid}"/>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_valoradqu}"/>
                        <h:outputText value="#{pyivtbmobController.selected.valoradqu}" title="#{myBundle.ViewPyivtbmobTitle_valoradqu}"/>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_valorpresup}"/>
                        <h:outputText value="#{pyivtbmobController.selected.valorpresup}" title="#{myBundle.ViewPyivtbmobTitle_valorpresup}"/>
                     

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_fechacompra}"/>
                        <h:outputText value="#{pyivtbmobController.selected.fechacompra}" title="#{myBundle.ViewPyivtbmobTitle_fechacompra}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_refactaentrega}"/>
                        <h:outputText value="#{pyivtbmobController.selected.refactaentrega}" title="#{myBundle.ViewPyivtbmobTitle_refactaentrega}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_numerofactura}"/>
                        <h:outputText value="#{pyivtbmobController.selected.numerofactura}" title="#{myBundle.ViewPyivtbmobTitle_numerofactura}"/>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_scittbescunid}"/>
                        <h:outputText value="#{pyivtbmobController.selected.scittbescunid.scittbescunid}"/>
                        
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_fecharegistro}"/>
                        <h:outputText value="#{pyivtbmobController.selected.fecharegistro}" title="#{myBundle.ViewPyivtbmobTitle_fecharegistro}">
                            <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                        </h:outputText>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_observaciones}"/>
                        <h:outputText value="#{pyivtbmobController.selected.observaciones}" title="#{myBundle.ViewPyivtbmobTitle_observaciones}"/>
   
                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_pydgtbactivpoaid}"/>
                        <h:outputText value="#{pyivtbmobController.selected.pydgtbactivpoaid.descripcion}"/>

                        <h:outputText value="#{myBundle.ViewPyivtbmobLabel_pyivtbtrasmobCollection}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{myBundle.Close}" onclick="PyivtbmobViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
